package routers

import (
	"anban/controllers"
	"anban/controllers/admin"
	"anban/controllers/api"
	"anban/controllers/parent"
	"anban/controllers/teacher"
	"github.com/astaxie/beego"
)

func init() {
	// 虽然beego已经支持注解路由，但注解路由会用到反射机制，降低性能，所以这里还是使用注册路由

	beego.Router("/d9XIGuh92R.txt", &controllers.WechatController{}, "get:MiniAuth;post:MiniAuth")

	// 初始化第一个后台管理员
	beego.Router("/init_admin_user", &controllers.MyTestController{}, "get:InitAdminUser")

	// 测试路由
	beego.Router("/test", &controllers.MyTestController{}, "get:Index;post:Index")
	beego.Router("/upload/image", &admin.UploadController{}, "post:Test")

	// 安伴公众号接收微信消息路由
	beego.Router("/wechat/anban.html", &controllers.WechatController{}, "get:AnBan;post:AnBan")

	// 前端路由
	beego.Router("/", &controllers.HomeController{}, "get:Index")
	beego.Router("/MP_verify_IklbbXqr38x99lLf.txt", &controllers.WechatController{}, "get:DomainAuth;post:DomainAuth")
	beego.Router("/get_region_by_parent", &controllers.CommonController{}, "post:GetFrontRegionListByParent")
	beego.Router("/get_school_by_district", &controllers.CommonController{}, "post:GetFrontSchoolByDistrict")
	beego.Router("/get_class_by_school", &controllers.CommonController{}, "post:GetFrontClassBySchool")
	beego.Router("/common/send_verify_code.html", &controllers.CommonController{}, "post:SendMobileMsg")
	beego.Router("/teacher/register.html", &teacher.IndexController{}, "get:Register;post:DoRegister")
	beego.Router("/teacher/index.html", &teacher.IndexController{}, "get:Index;post:Index")
	beego.Router("/teacher/add_class.html", &teacher.ClassController{}, "get:Add;post:DoAdd")
	beego.Router("/teacher/publish_homework.html", &teacher.HomeworkNoticeController{}, "post:DoAdd")
	beego.Router("/teacher/publish_meeting.html", &teacher.MeetingNoticeController{}, "post:DoAdd")
	beego.Router("/teacher/homework_history.html", &teacher.HomeworkNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/teacher/meeting_history.html", &teacher.MeetingNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/teacher/course_history.html", &teacher.CourseNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/teacher/grade_history.html", &teacher.GradeNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/teacher/school_bus_history.html", &teacher.SchoolBusNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/teacher/safe_history/index.html", &teacher.SafeNoticeController{}, "get:Index;post:Index")
	beego.Router("/teacher/safe_history/detail/:id([0-9]+).html", &teacher.SafeNoticeController{}, "get:Detail;post:DetailLoadMore")
	beego.Router("/teacher/temp_history/index.html", &teacher.TempNoticeController{}, "get:Index;post:Index")
	beego.Router("/teacher/temp_history/detail/:id([0-9]+).html", &teacher.TempNoticeController{}, "get:Detail;post:DetailLoadMore")
	beego.Router("/teacher/class/detail/:id([0-9]+).html", &teacher.ClassController{}, "get:Detail;post:Detail")
	beego.Router("/teacher/student/detail/:id([0-9]+).html", &teacher.StudentController{}, "get:Detail;post:Detail")
	beego.Router("/teacher/feedback_add.html", &teacher.FeedbackController{}, "post:DoAdd")
	beego.Router("/teacher/user/my_wallet.html", &teacher.UserController{}, "get:MyWallet")
	beego.Router("/teacher/user/index.html", &teacher.UserController{}, "get:Index;post:Index")
	beego.Router("/teacher/user/withdraw.html", &teacher.UserController{}, "get:Withdraw;post:WithdrawLoadMore")
	beego.Router("/teacher/user/do_withdraw.html", &teacher.UserController{}, "get:DoWithdraw;post:DoWithdraw")
	beego.Router("/parent/index.html", &parent.IndexController{}, "get:Index;post:Index")
	beego.Router("/parent/register.html", &parent.IndexController{}, "get:Register;post:DoRegister")
	beego.Router("/parent/invite_register.html", &parent.IndexController{}, "get:InviteRegister;post:DoInviteRegister")
	beego.Router("/parent/homework_history.html", &parent.HomeworkNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/parent/meeting_history.html", &parent.MeetingNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/parent/safe_history.html", &parent.SafeNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/parent/school_bus_history.html", &parent.SchoolBusNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/parent/grade_history.html", &parent.GradeNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/parent/course_history.html", &parent.CourseNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/parent/temp_history.html", &parent.TempNoticeController{}, "get:ShowList;post:LoadMore")
	beego.Router("/parent/family_member.html", &parent.UserController{}, "get:FamilyMember;post:FamilyMember")
	beego.Router("/parent/protect_member.html", &parent.StudentController{}, "get:ProtectMember;post:AddProtectMember")
	beego.Router("/parent/parent_address_book.html", &parent.UserController{}, "get:ParentAddressBook;post:ParentAddressBookLoadMore")
	beego.Router("/parent/school_address_book.html", &parent.UserController{}, "get:SchoolAddressBook;post:SchoolAddressBook")
	beego.Router("/parent/user/index.html", &parent.UserController{}, "get:Index;post:Index")
	beego.Router("/parent/feedback_add.html", &parent.FeedbackController{}, "post:DoAdd")

	// 后端路由
	beego.Router("/common/get_region_by_parent", &controllers.CommonController{}, "post:GetRegionListByParent")
	beego.Router("/common/get_class_by_school", &controllers.CommonController{}, "post:GetClassBySchool")
	beego.Router("/common/get_school_by_district", &controllers.CommonController{}, "post:GetSchoolByDistrict")
	beego.Router("/common/get_teacher_by_class", &controllers.CommonController{}, "post:GetTeacherByClass")
	beego.Router("/common/get_student_by_class", &controllers.CommonController{}, "post:GetStudentByClass")
	beego.Router("/admin", &admin.IndexController{}, "get:Index")
	beego.Router("/admin/login", &admin.UserAdminController{}, "get:Login;post:DoLogin")
	beego.Router("/admin/logout", &admin.UserAdminController{}, "get:Logout")
	beego.Router("/admin/welcome", &admin.IndexController{}, "get:Welcome")
	beego.Router("/admin/editor_upload", &admin.UploadController{}, "post:Editor")
	beego.Router("/admin/single_file", &admin.UploadController{}, "post:SingleFile")
	beego.Router("/upload/material", &admin.UploadController{}, "post:Material")
	beego.Router("/upload/device_picture", &admin.UploadController{}, "post:DevicePicture")
	beego.Router("/admin/download/:name", &admin.DownloadController{}, "get:Index;post:Index")

	// 卡号库
	beego.Router("/admin/card_num_lib", &admin.CardNumLibController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/card_num_lib/add", &admin.CardNumLibController{}, "get:Add;post:DoAdd")

	// 管理员
	beego.Router("/admin/user_admin", &admin.UserAdminController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/user_admin/add", &admin.UserAdminController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/user_admin/edit/?:id", &admin.UserAdminController{}, "get:Edit;post:DoEdit")
	beego.Router("/admin/user_admin/status_switch", &admin.UserAdminController{}, "post:StatusSwitch")

	// 权限分类
	beego.Router("/admin/authority_category", &admin.AuthorityCategoryController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/authority_category/add", &admin.AuthorityCategoryController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/authority_category/edit/?:id", &admin.AuthorityCategoryController{}, "get:Edit;post:DoEdit")

	// 权限
	beego.Router("/admin/authority", &admin.AuthorityController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/authority/add", &admin.AuthorityController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/authority/edit/?:id", &admin.AuthorityController{}, "get:Edit;post:DoEdit")

	// 管理员角色
	beego.Router("/admin/user_admin_role", &admin.UserAdminRoleController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/user_admin_role/add", &admin.UserAdminRoleController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/user_admin_role/edit/?:id", &admin.UserAdminRoleController{}, "get:Edit;post:DoEdit")

	// 省
	beego.Router("/admin/province", &admin.ProvinceController{}, "get:ShowProvinceList;post:ShowProvinceList")
	beego.Router("/admin/province/add", &admin.ProvinceController{}, "get:AddProvince;post:DoAddProvince")
	beego.Router("/admin/province/edit/?:id", &admin.ProvinceController{}, "get:EditProvince;post:DoEditProvince")

	// 市
	beego.Router("/admin/city", &admin.CityController{}, "get:ShowCityList;post:ShowCityList")
	beego.Router("/admin/city/add", &admin.CityController{}, "get:AddCity;post:DoAddCity")
	beego.Router("/admin/city/edit/?:id", &admin.CityController{}, "get:EditCity;post:DoEditCity")

	// 区/县
	beego.Router("/admin/district", &admin.DistrictController{}, "get:ShowDistrictList;post:ShowDistrictList")
	beego.Router("/admin/district/add", &admin.DistrictController{}, "get:AddDistrict;post:DoAddDistrict")
	beego.Router("/admin/district/edit/?:id", &admin.DistrictController{}, "get:EditDistrict;post:DoEditDistrict")

	// 学校
	beego.Router("/admin/school", &admin.SchoolController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/school/add", &admin.SchoolController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/school/edit/?:id", &admin.SchoolController{}, "get:Edit;post:DoEdit")
	beego.Router("/admin/school/edit_info", &admin.SchoolController{}, "get:EditInfo;post:DoEditInfo")

	// 班级
	beego.Router("/admin/class", &admin.ClassController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/class/add", &admin.ClassController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/class/edit/?:id", &admin.ClassController{}, "get:Edit;post:DoEdit")

	// 学生与家长关系
	beego.Router("/admin/student_relation", &admin.StudentRelationController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/student_relation/add", &admin.StudentRelationController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/student_relation/edit/?:id", &admin.StudentRelationController{}, "get:Edit;post:DoEdit")

	// 科目
	beego.Router("/admin/course", &admin.CourseController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/course/add", &admin.CourseController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/course/edit/?:id", &admin.CourseController{}, "get:Edit;post:DoEdit")

	// 文章分类
	beego.Router("/admin/article_type", &admin.ArticleTypeController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/article_type/add", &admin.ArticleTypeController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/article_type/edit/?:id", &admin.ArticleTypeController{}, "get:Edit;post:DoEdit")

	// 文章
	beego.Router("/admin/article", &admin.ArticleController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/article/add", &admin.ArticleController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/article/edit/?:id", &admin.ArticleController{}, "get:Edit;post:DoEdit")

	// 学生
	beego.Router("/admin/student", &admin.StudentController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/student/add", &admin.StudentController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/student/excel_add", &admin.StudentController{}, "get:ExcelAdd;post:DoExcelAdd")
	beego.Router("/admin/student/edit/?:id", &admin.StudentController{}, "get:Edit;post:DoEdit")
	beego.Router("/admin/student/parent/?:id", &admin.StudentController{}, "get:ParentList;post:ParentList")

	// 会员
	beego.Router("/admin/user", &admin.UserController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/user/edit/?:id", &admin.UserController{}, "get:Edit;post:DoEdit")
	beego.Router("/admin/user/child/?:id", &admin.UserController{}, "get:ChildList;post:ChildList")

	// 门禁设备
	beego.Router("/admin/device", &admin.DeviceController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/device/add", &admin.DeviceController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/device/edit/?:id", &admin.DeviceController{}, "get:Edit;post:DoEdit")

	// 微信自动回复
	beego.Router("/admin/wechat_reply", &admin.WechatReplyController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/wechat_reply/add", &admin.WechatReplyController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/wechat_reply/edit/?:id", &admin.WechatReplyController{}, "get:Edit;post:DoEdit")

	// 成绩
	beego.Router("/admin/grade_notice", &admin.GradeNoticeController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/grade_notice/add", &admin.GradeNoticeController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/grade_notice/excel_add", &admin.GradeNoticeController{}, "get:ExcelAdd;post:DoExcelAdd")
	beego.Router("/admin/grade_notice/edit/?:id", &admin.GradeNoticeController{}, "get:Edit;post:DoEdit")

	// 课程
	beego.Router("/admin/week_course", &admin.WeekCourseController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/week_course/add", &admin.WeekCourseController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/week_course/edit/?:id", &admin.WeekCourseController{}, "get:Edit;post:DoEdit")

	// 作业
	beego.Router("/admin/homework", &admin.HomeworkController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/homework/add", &admin.HomeworkController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/homework/edit/?:id", &admin.HomeworkController{}, "get:Edit;post:DoEdit")

	// 会议
	beego.Router("/admin/meeting", &admin.MeetingController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/meeting/add", &admin.MeetingController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/meeting/edit/?:id", &admin.MeetingController{}, "get:Edit;post:DoEdit")

	// 微信公众号菜单
	beego.Router("/admin/wechat_menu_all", &admin.WechatMenuController{}, "get:ShowAllList;post:ShowAllList")
	beego.Router("/admin/wechat_menu/add", &admin.WechatMenuController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/wechat_menu/edit/?:id", &admin.WechatMenuController{}, "get:Edit;post:DoEdit")
	beego.Router("/admin/wechat_menu/del", &admin.WechatMenuController{}, "get:Del;post:Del")
	beego.Router("/admin/wechat_menu/edit_field", &admin.WechatMenuController{}, "get:EditFiled;post:EditFiled")
	beego.Router("/admin/wechat_menu/create", &admin.WechatMenuController{}, "get:Create;post:Create")

	// 提现记录
	beego.Router("/admin/withdraw_record", &admin.WithdrawRecordController{}, "get:ShowList;post:ShowList")
	beego.Router("/admin/withdraw_record/payment/?:id", &admin.WithdrawRecordController{}, "get:Payment;post:Payment")

	// 交易记录
	beego.Router("/admin/finance", &admin.FinanceController{}, "get:ShowList;post:ShowList")

	// 问题反馈
	beego.Router("/admin/feedback", &admin.FeedbackController{}, "get:ShowList;post:ShowList")

	// 门禁设备海报
	beego.Router("/admin/device_picture/:id", &admin.DevicePictureController{}, "get:ShowAllList;post:ShowAllList")
	beego.Router("/admin/device_picture/add/:id", &admin.DevicePictureController{}, "get:Add;post:DoAdd")
	beego.Router("/admin/device_picture/edit/?:id", &admin.DevicePictureController{}, "get:Edit;post:DoEdit")
	beego.Router("/admin/device_picture/del", &admin.DevicePictureController{}, "get:Del;post:Del")

	// 门禁记录
	beego.Router("/admin/mfcard_upload_log", &admin.MfcardUploadLogController{}, "get:ShowList;post:ShowList")

	// 校车记录
	beego.Router("/admin/mfbus_upload_log", &admin.MfbusUploadLogController{}, "get:ShowList;post:ShowList")

	// 设备登录（关联学校）
	beego.Router("/mfcard/bind", &controllers.DeviceController{}, "get:Bind;post:Bind")
	// 考勤机心跳
	beego.Router("/mfcard/active", &controllers.DeviceController{}, "get:Active;post:Active")
	// 考勤机海报
	beego.Router("/mfcard/adpics", &controllers.DeviceController{}, "get:Adpics;post:Adpics")
	// 上传打卡日志
	beego.Router("/mfcard/uploadlog", &controllers.DeviceController{}, "get:UploadLog;post:UploadLog")
	// 获取平台卡号
	beego.Router("/mfcard/infos", &controllers.DeviceController{}, "get:Infos;post:Infos")
	// 设备退出（注销关联学校）
	beego.Router("/mfcard/unbind", &controllers.DeviceController{}, "get:Unbind;post:Unbind")
	beego.Router("/mfcard/doplace", &controllers.DeviceController{}, "get:DoPlace;post:DoPlace")

	// 设备激活绑定
	beego.Router("/mfbus/bind", &controllers.SchoolBusController{}, "get:Bind;post:Bind")
	// 开始行程
	beego.Router("/mfbus/travel/start", &controllers.SchoolBusController{}, "get:TravelStart;post:TravelStart")
	// 行程恢复（正在进行）
	beego.Router("/mfbus/travel/running", &controllers.SchoolBusController{}, "get:TravelRunning;post:TravelRunning")
	// 结束行程
	beego.Router("/mfbus/travel/end", &controllers.SchoolBusController{}, "get:TravelEnd;post:TravelEnd")
	// 批量（手工）下车
	beego.Router("/mfbus/travel/down", &controllers.SchoolBusController{}, "get:TravelDown;post:TravelDown")
	// 上报gps
	beego.Router("/mfbus/gps", &controllers.SchoolBusController{}, "get:Gps;post:Gps")
	// 上下车打卡上报
	beego.Router("/mfbus/uploadlog", &controllers.SchoolBusController{}, "get:UploadLog;post:UploadLog")
	// 获取学生信息
	beego.Router("/mfbus/infos", &controllers.SchoolBusController{}, "get:Infos;post:Infos")
	// 校车列表
	beego.Router("/mfbus/bus/list", &controllers.SchoolBusController{}, "get:BusList;post:BusList")
	// 设备绑定校车
	beego.Router("/mfbus/bus/bind", &controllers.SchoolBusController{}, "get:BusBind;post:BusBind")
	// 当前gps位置附近学生
	beego.Router("/mfbus/map/student", &controllers.SchoolBusController{}, "get:MapStudent;post:MapStudent")
	// 设备注销
	beego.Router("/mfbus/unbind", &controllers.SchoolBusController{}, "get:Unbind;post:Unbind")

	// API路由
	beego.Router("/api/check_student_safe", &api.TimerTask{}, "get:CheckStudentSafe;post:CheckStudentSafe")
	beego.Router("/api/user/login", &api.UserController{}, "get:MiniProgramLogin;post:MiniProgramLogin")
	beego.Router("/api/user/check_login", &api.UserController{}, "get:CheckLogin;post:CheckLogin")
	beego.Router("/api/new_notice", &api.IndexController{}, "get:NewNotice;post:NewNotice")
	beego.Router("/api/class_list_by_teacher", &api.IndexController{}, "get:ClassListByTeacher;post:ClassListByTeacher")
	beego.Router("/api/user/get_contract_info", &api.UserController{}, "get:GetContractInfo;post:GetContractInfo")
	beego.Router("/api/homework/list_by_parent", &api.HomeworkController{}, "get:ListByParent;post:ListByParent")
	beego.Router("/api/homework/list_by_teacher", &api.HomeworkController{}, "get:ListByTeacher;post:ListByTeacher")
	beego.Router("/api/meeting/list_by_parent", &api.MeetingController{}, "get:ListByParent;post:ListByParent")
	beego.Router("/api/meeting/list_by_teacher", &api.MeetingController{}, "get:ListByTeacher;post:ListByTeacher")
	beego.Router("/api/access_control/list_by_parent", &api.AccessControlController{}, "get:ListByParent;post:ListByParent")
	beego.Router("/api/access_control/list_by_teacher", &api.AccessControlController{}, "get:ListByTeacher;post:ListByTeacher")
	beego.Router("/api/access_control/class_students", &api.AccessControlController{}, "get:ClassStudents;post:ClassStudents")
	beego.Router("/api/school_bus/list_by_parent", &api.SchoolBusController{}, "get:ListByParent;post:ListByParent")
	beego.Router("/api/school_bus/list_by_teacher", &api.SchoolBusController{}, "get:ListByTeacher;post:ListByTeacher")
	beego.Router("/api/grade/list_by_parent", &api.GradeController{}, "get:ListByParent;post:ListByParent")
	beego.Router("/api/grade/list_by_teacher", &api.GradeController{}, "get:ListByTeacher;post:ListByTeacher")
	beego.Router("/api/course/list_by_parent", &api.CourseController{}, "get:ListByParent;post:ListByParent")
	beego.Router("/api/course/list_by_teacher", &api.CourseController{}, "get:ListByTeacher;post:ListByTeacher")
	beego.Router("/api/temperature/list_by_parent", &api.TemperatureController{}, "get:ListByParent;post:ListByParent")
	beego.Router("/api/temperature/list_by_teacher", &api.TemperatureController{}, "get:ListByTeacher;post:ListByTeacher")
	beego.Router("/api/user/family_member", &api.UserController{}, "get:FamilyMember;post:FamilyMember")
	beego.Router("/api/student/children_member", &api.StudentController{}, "get:ChildrenMember;post:ChildrenMember")
	beego.Router("/api/student/add_children_member", &api.StudentController{}, "get:AddChildrenMember;post:AddChildrenMember")
	beego.Router("/api/user/parent_book", &api.UserController{}, "get:ParentBook;post:ParentBook")
	beego.Router("/api/user/teacher_book", &api.UserController{}, "get:TeacherBook;post:TeacherBook")
	beego.Router("/api/user/feedback", &api.FeedbackController{}, "get:DoSubmit;post:DoSubmit")
	beego.Router("/api/user/invite_qrcode", &api.UserController{}, "get:InviteQrcode;post:InviteQrcode")
	beego.Router("/api/user/send_mobile_code", &api.UserController{}, "get:SendMobileMsg;post:SendMobileMsg")
	beego.Router("/api/user/relations", &api.UserController{}, "get:Relations;post:Relations")
	beego.Router("/api/user/register", &api.UserController{}, "get:Register;post:Register")
	beego.Router("/api/class_info_by_teacher", &api.IndexController{}, "get:ClassInfoByTeacher;post:ClassInfoByTeacher")
	beego.Router("/api/student_detail", &api.StudentController{}, "get:DetailByTeacher;post:DetailByTeacher")
	beego.Router("/api/publish", &api.UserController{}, "get:Publish;post:Publish")
	beego.Router("/api/course_list", &api.IndexController{}, "get:CourseList;post:CourseList")
	beego.Router("/api/province_list", &api.IndexController{}, "get:ProvinceList;post:ProvinceList")
	beego.Router("/api/city_list_by_province", &api.IndexController{}, "get:CityListByProvince;post:CityListByProvince")
	beego.Router("/api/district_list_by_city", &api.IndexController{}, "get:DistrictListByCity;post:DistrictListByCity")
	beego.Router("/api/school_list_by_district", &api.IndexController{}, "get:SchoolListByDistrict;post:SchoolListByDistrict")
	beego.Router("/api/class_list_by_school", &api.IndexController{}, "get:ClassListBySchool;post:ClassListBySchool")
	beego.Router("/api/add_class", &api.UserController{}, "get:AddClass;post:AddClass")
	beego.Router("/api/withdraw", &api.UserController{}, "get:Withdraw;post:Withdraw")
	beego.Router("/api/withdraw_list", &api.UserController{}, "get:WithdrawList;post:WithdrawList")
	beego.Router("/api/deduction_list", &api.UserController{}, "get:DeductionList;post:DeductionList")
}
